/**
 * Created by jiachneyu on 2018/9/18.
 */

const request = require("superagent");
const cheerio = require("cheerio");
const proxy = require("superagent-proxy");
const ip = require("./getIp");
const userAgent = require("./userAgent");
const async = require("async");

proxy(request);

class spider{

    doRequest(){
        console.log(async)
        async.mapLimit()
    }

    init(){
        this.doRequest()
    }
}

const app = new spider()
app.init();